<template>
  <div>
    <img alt="Vue logo" src="./assets/logo.png">
    <Student></Student>
    <MyCar></MyCar>
  </div>
</template>

<script>
// 引入我们自己创建的子组件
import Student from "../../单文件组件/Student.vue";
import MyCar from "../../单文件组件/MyCar.vue";

export default {
  name: 'App',
  components: {
    MyCar,
    Student,
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
